#ifndef WAIT_PROCESSBAR_H
#define WAIT_PROCESSBAR_H

#include <QDialog>

class WaitProcessBar : public QDialog
{
    Q_OBJECT
public:
    WaitProcessBar(QWidget* pParent = nullptr);
    ~WaitProcessBar();
    void paintEvent(QPaintEvent *event);

private slots:
    void  updaterRotation();

private:
    double rotation = 0.0;
    QTimer *timer = nullptr;

public slots:
    void startTimer();
    void stopTimer();

};
#endif // WAIT_PROCESSBAR_H
